<?php define("DML", "1");

session_start();

header("Content-type: text/html; charset=utf-8");

define ("PATH", dirname(__FILE__));
define("DS", DIRECTORY_SEPARATOR);

$tpl = PATH.DS.'install'.DS.'tpl'.DS.'index.tpl';

require_once PATH.DS.'install'.DS.'functions.php';
require_once PATH.DS.'class'.DS.'TemplateClass.php';

switch(@$_SESSION['step']){
	case 1:
      license();
		break;
	case 2:
      dbinfo();
		break;
	case 3:
      admin();
		break;
   case 4:
      finish();
      break;
	default :
      wellcome();
      break;
}

?>